//
//  KABCosPublishCCell.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/8.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABCosPublishCCell;
@protocol KABCosPublishCCellDelegate <NSObject>
@optional
- (void)KABCosPublishCCell:(KABCosPublishCCell *)cell deleteBtnTapped:(UIButton *)btn;
@end

@class KABCosPublishItem;
@interface KABCosPublishCCell : UICollectionViewCell

@property (weak,   nonatomic) IBOutlet UIImageView *BgImgView;
@property (weak,   nonatomic) IBOutlet UIButton *closeBtn;
@property (assign, nonatomic) BOOL isAdd;

@property (weak, nonatomic) id<KABCosPublishCCellDelegate>delegate;

- (void)configViewWithPublishItem:(KABCosPublishItem *)item;

@end

// 皮肤预览VC
@class KABSkinDetImgItem;
@interface KABCosPublishCCell (ThemePreview)
- (void)configViewWithSkinDetImgItem:(KABSkinDetImgItem *)item;
@end

// 相册
@class KABMinePhotoItem;
@interface KABCosPublishCCell (HomepageAlbum)
- (void)configViewWithPhotoItem:(KABMinePhotoItem *)item;
@end

